package com.example.demo.permission.role.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.demo.permission.role.pojo.Role;

@Mapper
public interface RoleMapper {
	List<Role> roles();

	int addNewRole(@Param("role") String role, @Param("roleZh") String roleZh);

	int deleteRoleById(Long rid);
}